package timeslice
{
	import flash.text.TextField;
	
	import slices.PlayTalkAvg;
	
	public class PlayTalkComma extends PlayTalkAvg
	{
		public function PlayTalkComma(tf:TextField)
		{
			super(tf);
		}
		
		override protected function nextInterval(index:int):int
		{
			var ch:String = _text.charAt(index);
			if (ch == "，" || ch == "," || ch == "\n") {
				return _speed * 10;
			}
			else {
				return _speed;
			}
		}
	}
}